body {
  @include font-smoothing;
}

a {
  font-weight: bold;
}

img {
  max-width: 100%;
}

.error-iframe {
  display: block;
  width: 100%;
  border: 0;
  flex: 1;
  min-height: 60vh;
  max-height: 75vh;
}

.empty, .blank {
  font-style: italic;
  opacity: 0.5;
}

.external-link {
  &:after {
    @include icon-fa($fa-var-external-link-alt);
    font-size: 85%;
    margin-left: 0.5rem;
  }
}

.main-content-header {
  font-size: 1rem * $header-font-size-scale;
}

.main-content-sidebar {
  font-size: 1rem * $sidebar-font-size-scale;

  h1, h2, h3, h4, h5, h6,
  .h1, .h2, .h3, .h4, .h5, .h6 {
    border-bottom: $headings-border;
    padding-bottom: 0.275rem;

    &:not(:first-child) {
      margin-top: 1.5rem;
    }
  }

  .card-header,
  .card-body,
  .card-footer {
    padding: ($card-spacer-y * 0.75) ($card-spacer-x * 0.75);
  }
}
